/**
 *  ward @ 2019
 *  harrydeep@wardyan.top
 */
package top.wardyan.util;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * @author ward 2019年3月3日
 */
public class SQLServerTypesUtil {
	
	protected static List<String> types = null;
	
	public synchronized static List<String> getList() {
		if(types == null)
			toList();
		return types;
	}
	
	protected static void toList() {
		types = new ArrayList<>();
		for(SQLServerTypes t : SQLServerTypes.values()) {
			types.add(t.toString());
		}
	}

}
